package com.diandian.backend.member.service;

import com.diandian.backend.member.dto.*;
import com.diandian.backend.member.mapper.DouyinLifeMemberInfoChangeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class DouyinLifeMemberInfoChangeRecordService {

    @Autowired
    private DouyinLifeMemberInfoChangeMapper douyinLifeMemberInfoChangeMapper;

    public void add(DouyinLifeMemberInfoChangeAddParamDTO param) {
        param.setCreateTime(new Date());
        param.setDel(0);
        douyinLifeMemberInfoChangeMapper.add(param);
    }
}
